<?php
/**
 * RedCross Application
 *
 * @copyright Copyright (c) 2010, Kristian Stokke Tryggestad, Rune Vikestad, Andreas Flaten Wist, Simen Nicolai Echholt, Ole Henrik Jahren
 */


class Admin_Form_Access_AddArea extends RedCross_Form
{

    public function init()
    {
    $this->addElement('text', 'area', array(
      'filters'     => array('StringTrim'),
      'validators'  => array(
          array('StringLength', true, array(3, 32))
      ),
      'required'  => true,
      'label'    => 'Område',
    ));

    $this->addElement('submit', 'submit', array(
            'required' => true,
            'ignore'   => true,
            'label'    => 'Lagre',
        ));
    }
    
    
}
